﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mvc.XForms.Utilities;
using System.Web.Mvc;
using System.Reflection;
using Mvc.XForms.Examples.Model;

namespace Mvc.XForms.Tests.XFormsTests {
	public class TestDeserializer : NameValueDeserializer {
		public TestDeserializer(ModelStateDictionary modelState)
			: base(modelState) { }

		protected override object GetEntity(long entityID, PropertyInfo property) {
			if (entityID == 1 && property.PropertyType == typeof(Address)) { }

			return null;
		}
	}
}